package br.com.unifebe.tcc.model;


public enum TipoPessoa implements StringValuedEnum{

	FISICA		("0",	"Fisica"   ), 
	JURIDICA	("1",	"Juridica" );
	
	private final String value;
	private final String displayName;
	private final int count = 3;
	
	TipoPessoa(String value, String displayName){
		this.value = value;
		this.displayName = displayName;
	}

	@Override
	public int getCount() {
		return count;
	}

	@Override
	public String getDisplayName() {
		return displayName;
	}

	@Override
	public String getName() {
		return super.toString();
	}

	@Override
	public String getValue() {
		return value;
	}
	
	@Override
	public String toString() {
		return displayName;
	}
	
}
